<?php

class Users_Form_Password extends Zend_Form {

	public function init() {
		$this->setMethod('post');
		
		$email = $this->createElement('text', 'email');
		$email->setLabel(_('Ваш Email, указанный при регистрации на сайте:'));
		$email->addValidator('EmailAddress', true);
		$email->addFilters(array('StringTrim', 'StripTags'));
		$email->setAttrib('maxlenght', '255');
		$email->setAttrib('size','32');
		
		$submit = $this->createElement('submit', 'submit');
		$submit->setLabel(_('Выслать пароль'));
		
		$this->addElements(array($email,$submit));
	}
}